//
//  TKIMSDKUserSet.h
//  TKIM
//
//  Created by liupm on 15/11/10.
//  Copyright © 2015年 liupm. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface TKIMSDKUserSet : NSObject
@property(nonatomic,assign) BOOL isAutoLogin;//是否自动登录
@property(nonatomic,assign) BOOL isShowNotifyContent;//是否显示消息详情
@property(nonatomic,assign) BOOL IsOpenHarassMode;//是否开启夜间模式
@property(nonatomic,assign) BOOL isOpenSound;//是否开启推送声音
@property(nonatomic,assign) BOOL isRegisterDeviceToken;//是否注册过推送TOKEN
@property(nonatomic,assign) BOOL isPlayVoiceByEarpiece;//播放声音是否是听筒播放

/**
 *  @Author lpm, 15-11-12 11:11:19
 *
 *  @brief  单例
 *
 *  @return 
 */
+(TKIMSDKUserSet *)shareInstance;

/**
 * @Author 刘鹏民, 15-01-09 14:01:49
 *
 * 读取配置文件
 */
-(void)initConfig;

/**
 * @Author lpm, 15-04-22 15:04:57
 *
 * @brief  修改配置
 * @param key
 * @param value
 */
-(void)modifyConfig:(NSString *)key value:(id)value;


/**
 * @Author 刘鹏民, 15-01-09 15:01:29
 *
 * 获得某个配置
 * @param key
 * @return
 */
-(id)getSetting:(NSString *)key;


/**
 *  @Author lpm, 15-11-04 16:11:44
 *
 *  @brief  生成消息ID
 *
 *  @return
 */
-(NSString *)generateMsgId;


@end
